from tornado_mysql import pools
from tornado_mysql.cursors import DictCursor

pools.DEBUG = True

pool = pools.Pool(
    dict(host='localhost', port=3306, user='gs13', passwd='147258369', db='class', charset='utf8',
         cursorclass=DictCursor),
    max_idle_connections=1,
    max_recycle_sec=3,
)
